기존 광고 캠페인을 업데이트하고 업데이트된 캠페인에 대한 정보를 반환합니다.
엑세스 제어:
캠페인을 아카이브로 변경하면 캠페인에 할당된 예산이 반환됩니다.
curl --request PATCH \
--url https://your_a2_service/campaigns \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"audience_segments": {},
"bid_strategy": "highest_volume",
"budget": 0,
"created_at": "2023-11-07T05:31:56Z",
"crid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"daily_budget": 123,
"description": "<string>",
"end_date": "2023-11-07T05:31:56Z",
"goal": "click",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"max_bid": 0,
"min_daily_imp": 1000,
"name": "<string>",
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_date": "2023-11-07T05:31:56Z",
"status": "okay",
"sub_goal": "<string>",
"tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_cpa": 0,
"target_cpm": 0,
"target_volume": 0,
"updated_at": "2023-11-07T05:31:56Z"
}'
{
"audience_segments": {},
"bid_strategy": "highest_volume",
"budget": 0,
"created_at": "2023-11-07T05:31:56Z",
"crid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"daily_budget": 123,
"description": "<string>",
"end_date": "<string>",
"goal": "click",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"max_bid": 0,
"min_daily_imp": 1000,
"name": "<string>",
"no": 123,
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_date": "<string>",
"status": "okay",
"sub_goal": "<string>",
"tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_cpa": 0,
"target_cpm": 0,
"target_volume": 0,
"updated_at": "2023-11-07T05:31:56Z"
}
The access token received from the authorization server in the OAuth 2.0 flow.
캠페인 정보 변경을 위한 스키마
Successful Response
캠페인의 모든 속성을 정의한 스키마
curl --request PATCH \
--url https://your_a2_service/campaigns \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"audience_segments": {},
"bid_strategy": "highest_volume",
"budget": 0,
"created_at": "2023-11-07T05:31:56Z",
"crid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"daily_budget": 123,
"description": "<string>",
"end_date": "2023-11-07T05:31:56Z",
"goal": "click",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"max_bid": 0,
"min_daily_imp": 1000,
"name": "<string>",
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_date": "2023-11-07T05:31:56Z",
"status": "okay",
"sub_goal": "<string>",
"tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_cpa": 0,
"target_cpm": 0,
"target_volume": 0,
"updated_at": "2023-11-07T05:31:56Z"
}'
{
"audience_segments": {},
"bid_strategy": "highest_volume",
"budget": 0,
"created_at": "2023-11-07T05:31:56Z",
"crid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"daily_budget": 123,
"description": "<string>",
"end_date": "<string>",
"goal": "click",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"max_bid": 0,
"min_daily_imp": 1000,
"name": "<string>",
"no": 123,
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_date": "<string>",
"status": "okay",
"sub_goal": "<string>",
"tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_cpa": 0,
"target_cpm": 0,
"target_volume": 0,
"updated_at": "2023-11-07T05:31:56Z"
}